//
//  MyMap1ViewController.h
//  MyMap1
//
//  Created by Seok-Kyu Kong on 10. 01. 02.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "MyAnnotation.h"

@interface MyMap1ViewController : UIViewController {

	IBOutlet MKMapView *mapView;
	IBOutlet UITextField *searchField;
	
	// 구글 주소좌표 변환 결과값 저장
	NSMutableString *xmlValue;
	NSMutableString *resultCode;
	CLLocationCoordinate2D resultCoord;
}

@property (nonatomic, retain) IBOutlet MKMapView *mapView;
@property (nonatomic, retain) IBOutlet UITextField *searchField;

- (IBAction)setMap:(id)sender;
- (IBAction)searchAddress:(id)sender;
- (IBAction)markAddress:(id)sender;

- (IBAction)searchFieldDoneEditing:(id)sender;
- (IBAction)backgroundClick:(id)sender;
- (void) setAddress: (CLLocationCoordinate2D) location;

- (IBAction) textFieldDoneEditing:(id)sender;

@end

